package com.rfid.project.model;

import javax.persistence.*;

import biz.core.IdEntity;

@Entity
public class ProjectStakeholder extends IdEntity {

	// 项目
	@ManyToOne
	@JoinColumn(name = "ProjectID")
	private Project project;

	// 部门
	private String department;

	// 姓名
	private String name;

	// 职务
	private String post;

	// 个人电话
	private String personalTel;

	// 办公电话
	private String officeTel;

	// 备注
	private String remark;
	
	//本所人员ID
	private Long personID;

	// 项目干系人类型
	@ManyToOne
	@JoinColumn(name = "ProjectStakeholderTypeID")
	private ProjectStakeholderType projectStakeholderType;

	public Project getProject() {
		return project;
	}

	public void setProject(Project project) {
		this.project = project;
	}

	public String getDepartment() {
		return department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPost() {
		return post;
	}

	public void setPost(String post) {
		this.post = post;
	}

	public String getPersonalTel() {
		return personalTel;
	}

	public void setPersonalTel(String personalTel) {
		this.personalTel = personalTel;
	}

	public String getOfficeTel() {
		return officeTel;
	}

	public void setOfficeTel(String officeTel) {
		this.officeTel = officeTel;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public ProjectStakeholderType getProjectStakeholderType() {
		return projectStakeholderType;
	}

	public void setProjectStakeholderType(
			ProjectStakeholderType projectStakeholderType) {
		this.projectStakeholderType = projectStakeholderType;
	}

	public Long getPersonID() {
		return personID;
	}

	public void setPersonID(Long personID) {
		this.personID = personID;
	}

}
